package demo.mybatis;


/**
 * @author : feixiang.li
 * @since : 2025-09-18 15:45
 */
public class Main {

    public static void main(String[] args) {
        MySqlSessionFactory mySqlSessionFactory = new MySqlSessionFactory();
        UserMapper userMapper = mySqlSessionFactory.getMapper(UserMapper.class);
        System.out.println(userMapper.getUserById(-1));
        System.out.println(userMapper.getUserByName("用户508"));
    }
}
